package com.gtja.beoms.xxljob.dto;




/**
 * <p>
 *修改Job
 * </p>
 *
 * @author luckwz
 * @since 2021/10/21
 */


public class UpdateXxlJob {
    /**
     * 任务id
     */
    private int id;
    /**
     * 执行器主键ID
     */
    private int jobGroup;
    /**
     * job描述
     */
    private String jobDesc;
    /**
     * 负责人
     */
    private String author;
    /**
     * 调度类型
     */
    private String scheduleType;
    /**
     * 调度配置，值含义取决于调度类型
     */
    private String scheduleConf;
    /**
     * 执行器，任务Handler名称
     */
    private String executorHandler;
    /**
     * 调度过期策略
     */
    private String misfireStrategy;
    /**
     * 执行器路由策略
     */
    private String executorRouteStrategy;
    /**
     * 执行器，任务参数
     */
    private String executorParam;
    /**
     * 阻塞处理策略
     */
    private String executorBlockStrategy;

    public UpdateXxlJob() {
    }

    public UpdateXxlJob(int id, int jobGroup, String jobDesc, String author, String scheduleType, String scheduleConf, String executorHandler, String misfireStrategy, String executorRouteStrategy, String executorParam, String executorBlockStrategy) {
        this.id = id;
        this.jobGroup = jobGroup;
        this.jobDesc = jobDesc;
        this.author = author;
        this.scheduleType = scheduleType;
        this.scheduleConf = scheduleConf;
        this.executorHandler = executorHandler;
        this.misfireStrategy = misfireStrategy;
        this.executorRouteStrategy = executorRouteStrategy;
        this.executorParam = executorParam;
        this.executorBlockStrategy = executorBlockStrategy;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getJobGroup() {
        return jobGroup;
    }

    public void setJobGroup(int jobGroup) {
        this.jobGroup = jobGroup;
    }

    public String getJobDesc() {
        return jobDesc;
    }

    public void setJobDesc(String jobDesc) {
        this.jobDesc = jobDesc;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getScheduleType() {
        return scheduleType;
    }

    public void setScheduleType(String scheduleType) {
        this.scheduleType = scheduleType;
    }

    public String getScheduleConf() {
        return scheduleConf;
    }

    public void setScheduleConf(String scheduleConf) {
        this.scheduleConf = scheduleConf;
    }

    public String getExecutorHandler() {
        return executorHandler;
    }

    public void setExecutorHandler(String executorHandler) {
        this.executorHandler = executorHandler;
    }

    public String getMisfireStrategy() {
        return misfireStrategy;
    }

    public void setMisfireStrategy(String misfireStrategy) {
        this.misfireStrategy = misfireStrategy;
    }

    public String getExecutorRouteStrategy() {
        return executorRouteStrategy;
    }

    public void setExecutorRouteStrategy(String executorRouteStrategy) {
        this.executorRouteStrategy = executorRouteStrategy;
    }

    public String getExecutorParam() {
        return executorParam;
    }

    public void setExecutorParam(String executorParam) {
        this.executorParam = executorParam;
    }

    public String getExecutorBlockStrategy() {
        return executorBlockStrategy;
    }

    public void setExecutorBlockStrategy(String executorBlockStrategy) {
        this.executorBlockStrategy = executorBlockStrategy;
    }

    @Override
    public String toString() {
        return "UpdateXxlJob{" +
                "id=" + id +
                ", jobGroup=" + jobGroup +
                ", jobDesc='" + jobDesc + '\'' +
                ", author='" + author + '\'' +
                ", scheduleType='" + scheduleType + '\'' +
                ", scheduleConf='" + scheduleConf + '\'' +
                ", executorHandler='" + executorHandler + '\'' +
                ", misfireStrategy='" + misfireStrategy + '\'' +
                ", executorRouteStrategy='" + executorRouteStrategy + '\'' +
                ", executorParam='" + executorParam + '\'' +
                ", executorBlockStrategy='" + executorBlockStrategy + '\'' +
                '}';
    }
}


